/**
  ******************************************************************************
  * @file    PfcParamDefault.h
  * @author  Silan - MC Team
  * @version 1.0.0
  * @date    2017/07/19
  * @brief   PFC Parameter Default Value Definition File.
  * @details None
  * @note    None
  ******************************************************************************
  * @attention
  * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
  * AS A RESULT, SILAN MICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
  * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
  * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
  * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  *
  ******************************************************************************
  * Change History
  * -# 2017/07/19 | v1.0.0 | Wangjianlong | Creat file.
  *
  *
  *
  *
  *
  *
  *
  *
  *
  ******************************************************************************
  */

/*******************************************************************************
 * Define to prevent recursive inclusion
 ******************************************************************************/
#ifndef __PFC_DEFAULT_H__
#define __PFC_DEFAULT_H__


/*******************************************************************************
 * Constants and macros
 ******************************************************************************/
#define DEFAULT_VacFreq                     50
#define DEFAULT_PfcPwmFreq                  40000
#define DEFAULT_PfcMaxIac                   25
#define DEFAULT_PfcMaxVac                   940
#define DEFAULT_PfcMaxVdc                   540
#define DEFAULT_PfcIacPiKp                  0.032
#define DEFAULT_PfcIacPiKi                  1.33
#define DEFAULT_PfcVdcPiKp                  0.28
#define DEFAULT_PfcVdcPiKi                  2.8
#define DEFAULT_PfcCompGain                 0.96
#define DEFAULT_PfcSmpDelay                 0.9
#define DEFAULT_PfcVdcOutDefault            175
#define DEFAULT_PfcVdcOutMin                100
#define DEFAULT_PfcVdcOutMax                180
#define DEFAULT_VdcRampAcc                  20
#define DEFAULT_VdcRampDec                  20
#define DEFAULT_MinOnTimeUS                 0.5
#define DEFAULT_MinOffTimeUS                2
#define DEFAULT_FiltConstIacRms4User        0.5
#define DEFAULT_FiltConstVacRms4User        0.5
#define DEFAULT_FiltConstVdcAvg4User        0.5
#define DEFAULT_FiltConstVdcAvg4Ctrl        10
#define DEFAULT_VacODVal4Rms                138
#define DEFAULT_VacORVal4Rms                115
#define DEFAULT_VacUDVal4Rms                60
#define DEFAULT_VacURVal4Rms                80
#define DEFAULT_VdcODVal4Peak               200
#define DEFAULT_VdcORVal4Peak               175
#define DEFAULT_VdcOVLVal4Peak              195
#define DEFAULT_VdcUDVal4Peak               80
#define DEFAULT_VdcURVal4Peak               100
#define DEFAULT_IacODVal4Rms                12
#define DEFAULT_IacORVal4Rms                8
#define DEFAULT_PinODVal4Rms                93
#define DEFAULT_PinORVal4Rms                62
#define DEFAULT_MaxVoltErr                  10


#endif /* __PFC_DEFAULT_H__ */
/*---------------------------------- End of the file ---------------------------------*/

